package com.tuxing.draa_data.dao.center;

import com.tuxing.draa_data.pojo.center.NewDcPackage;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

/**
 * <p>
 * Mapper 接口
 * </p>
 *
 * @author yuanshihang
 * @since 2021-12-06
 */
@Repository
public interface NewDcPackageDao extends BaseMapper<NewDcPackage> {

    /**
     * @param draaPid draa包Id
     * @param cid     collectionId资源库Id缩写
     * @return 订购包数据
     * @decpription 查询资源包关系
     * @author yuanshihang
     * @date 2021/12/6 15:49
     * @version 1.0
     */
    NewDcPackage findOneByDraaPidCid(@Param("draaPid") String draaPid,@Param("cid") Long cid);

}
